//
//  CSNateSessionDelegate.h
//  CairnStory
//  www.cairnstory.com
//
//  Created by saturna on 11. 3. 22..
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@class CSNateSessionController;
@class CSNateOAuthResult;

@protocol CSNateSessionDelegate


@required
- (void)nateSessionController:(CSNateSessionController*)controller
			  didStartWithTag:(NSUInteger)nateTag;

- (void)nateSessionController:(CSNateSessionController*)controller
			  didLoginWithTag:(NSUInteger)nateTag
			   withAuthResult:(CSNateOAuthResult*)authResult;

- (void)nateSessionController:(CSNateSessionController*)controller
			 didRejectWithTag:(NSUInteger)nateTag
			   withAuthResult:(CSNateOAuthResult*)authResult
				  withMessage:(NSString*)alertMessage;

//- (void)nateSessionController:(CSNateSessionController*)controller
//			 didNotLoginWithTag:(NSUInteger)nateTag;

- (void)nateSessionController:(CSNateSessionController*)controller
			 didCancelWithTag:(NSUInteger)tag;

- (void)nateSessionController:(CSNateSessionController*)controller
			   didFailWithTag:(NSUInteger)nateTag
				  withMessage:(NSString*)alertMessage
					withError:(NSError*)error;

- (void)nateSessionController:(CSNateSessionController*)controller
			 didFinishWithTag:(NSUInteger)nateTag;

@end
